package com.kgc.xsProvider.dao;
import com.kgc.xs.pojo.SalesReturn;
import com.kgc.xs.pojo.SalesReturnDetail;


import java.util.List;
import java.util.Map;

public interface SalesReturnMapper {


    List<SalesReturn> selectSalesReturnByPage(Map<String, Object> map);

    int insertSalesReturn(SalesReturn salesReturn);

    int insertSalesReturnDetail(SalesReturnDetail salesReturnDetail);

    int updateSalesReturn(SalesReturn salesReturn);

    int updateSalesReturnDetail(SalesReturnDetail salesReturnDetail);

    int deleteSalesReturn(String docCode);

    int deleteSalesReturnDetail(String xsReturnCode);

    List<SalesReturnDetail> selectSalesReturnDetail(Map<String, Object> map);

    int checkSalesReturn(Map<String, Object> map);

    SalesReturn selectSalesReturnByCode(String docCode);

    List<SalesReturnDetail> selectSalesReturnDetailByCode(String xsReturnCode);






}
